<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<div class="page">
	<div class="pageHeader">
		<p>
			<br />
			定时任务调度查看<security:authorize ifAnyGranted="A_MODIFY_QRTZ">/修改</security:authorize>
		</p>
	</div>
	<div class="pageContent">
		<form method="post" action="${ctx}/comm/quartz!save.action" class="pageForm required-validate"
			onsubmit="return validateCallback(this, navTabAjaxDone);">
			<div class="pageFormContent" layoutH="70">
			<div class="tabs" currentIndex="0" eventType="click">
				<div class="tabsHeader">
					<div class="tabsHeaderContent">
						<ul>
							<li><a href="javascript:;"><span>Cron Trigger</span></a></li>
							<li><a href="javascript:;"><span>Simple Trigger</span></a></li>
						</ul>
					</div>
				</div>
				<div class="tabsContent" style="height:380px;">
					<div>
						<p>
							<label>
								TRIGGER_NAME：
							</label>
							<input type="text" name="triggerName" id="triggerName"
								value="${triggerName}" size="30" class="required" maxlength="20"
								alt="请输入trigger名称" />
						</p>
						<p>
							<label>
								CRON_EXPRESSION：
							</label>
							<input type="text" name="cronExpression" id="cronExpression"
								value="${cronExpression}" size="30" class="required" maxlength="20"
								alt="请输入cron表达式" />
						</p>
					</div>
					<div>
						<p>
							<label>
								TRIGGER_NAME：
							</label>
							<input type="text" name="triggerName" id="triggerName"
								value="${triggerName}" size="30" class="required" maxlength="20"
								alt="请输入trigger名称" />
						</p>
						<p>
							<label>
								CRON_EXPRESSION：
							</label>
							<input type="text" name="cronExpression" id="cronExpression"
								value="${cronExpression}" size="30" class="required" maxlength="20"
								alt="请输入cron表达式" />
						</p>
						<p>
							<label>
								TRIGGER_GROUP：
							</label>
							<input type="text" name="triggerGroup" id="triggerGroup"
								value="${triggerGroup}" size="30" class="required" maxlength="20"
								alt="请输入trigger组名" />
						</p>
						<p></p>
						<p>
							<label>
								START_TIME：
							</label>
							<input type="text" id="starTime" name="starTime" class="date" size="30" format="yyyy-MM-dd HH:mm:ss"
								value="<fmt:formatDate value="${starTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" readonly="readonly" />
							<a class="inputDateButton" href="javascript:void(0)">选择</a>
						</p>
						<p>
							<label>
								END_TIME：
							</label>
							<input type="text" id="endTime" name="endTime" class="date" size="30" format="yyyy-MM-dd HH:mm:ss"
								value="<fmt:formatDate value="${endTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" readonly="readonly" />
							<a class="inputDateButton" href="javascript:void(0)">选择</a>
						</p>
						<p>
							<label>
								REPEAT_COUNT：
							</label>
							<input type="text" name="repeatCount" id="repeatCount"
								value="${repeatCount}" size="30" maxlength="20"/>
						</p>
						<p></p>
						<p>
							<label>
								REPEAT_INTERVAL：
							</label>
							<input type="text" name="repeatInterval" id="repeatInterval"
								value="${repeatInterval}" size="30" maxlength="20"/>
						</p>
						<p></p>
						<p style="height: 180px">
							<label>
								DESCRIPTION：
							</label>
							<textarea rows="10" cols="100" id="description" name="description"
								tools="simple" class="editor">${description}</textarea>
						</p>
					</div>
				</div>
				<c:set var="granted">A_MODIFY_QRTZ</c:set>
				<%@include file="/common/formBar.jsp" %>
				<div class="tabsFooter">
					<div class="tabsFooterContent"></div>
				</div>
			</div>
		</form>
	</div>
</div>